![]() |
SetThemeCursor |
||||
Header: | Appearance.h | Carbon status: | Supported | |
Sets the cursor to a version of the specified cursor type that is consistent with the current theme.
OSStatus SetThemeCursor ( ThemeCursor inCursor );
A value of type ThemeCursor. Pass a constant specifying the type of cursor to set; see
A result code.
Appearance Manager 1.1 introduces cursors that can change appearance with a theme change. In order to be theme-compliant, your program should use these theme-specific cursors whenever possible, instead of the classic black-and-white cursors. Because these are color cursors, they currently cannot be set from interrupt time.
Your application should call the SetThemeCursor function to ensure that its cursors are theme-compliant, rather than the QuickDraw cursor utilities functions SetCursor or SetCCursor. If you wish an animatable cursor to be theme-compliant, call the function SetAnimatedThemeCursor.
Do not call SetThemeCursor at interrupt time.
This function is available with Appearance Manager 1.1 and later.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)